/**
 * 门店店员表 api 封装
 *
 * @Author:    zhoujk
 * @Date:      2025-01-26 06:40:44
 */
import { postRequest, getRequest } from '/@/lib/axios'

export const storeStaffApi = {
  /**
   * 分页查询门店店员
   */
  page: (param) => {
    return postRequest('/b-merchant/store_staff/page', param)
  },

  /**
   * 增加门店店员
   */
  insert: (param) => {
    return postRequest('/b-merchant/store_staff/insert', param)
  },

  /**
   * 修改门店店员
   */
  update: (param) => {
    return postRequest('/b-merchant/store_staff/update', param)
  },

  /**
   * 根据id查询门店店员
   */
  findOne: (param) => {
    return postRequest('/b-merchant/store_staff/find_id', param)
  },

  /**
   * 重置密码
   */
  resetPwd: (param) => {
    return postRequest('/b-merchant/store_staff/reset_pwd', param)
  },
}
